import { createRoot } from 'react-dom/client'
import { HashRouter } from "react-router-dom";
import { ConfigProvider } from "antd"
import './index.css'
import App from './App.tsx'

createRoot(document.getElementById('root')!).render(
  <HashRouter>
    <ConfigProvider theme={{
      token: {
        colorSuccess: "#ffec5a",
        colorError: "#fa5151",
        colorWarning: "#ff8f1f",
        colorPrimaryBg: "#d6d6d6",
        colorPrimary: "#2e2e2e",
        colorInfo: "#2e2e2e" // 主题色
      }
    }}>
      <App />
    </ConfigProvider>
  </HashRouter>
)
